import {customeStruct} from '../utils';
const itf = customeStruct.interface;
export const InitData = itf({
    payload: itf({
        brands: [itf({
            id: 'string',
            name: 'string'
        })],
    })
});
export const List = itf({
    payload: itf({
        content: [itf(Object.assign({
            id: 'string',
            partOrderPIId: 'string? | null',
            brandCode: 'string? | null',
            brandName: 'string? | null',
            dealerCode: 'string',
            dealerName: 'string? | null',
            code: 'string',
            customerOrderCode: 'string? | null',
            partOrderTypeName: 'string? | null',
            partOrderPriceTerms: 'number? | null',
            paymentType: 'number? | null',
            transportType: 'number? | null',
            totalQuantity: 'number? | null',
            totalAmount: 'number? | null',
            currency: 'number? | null',
            submitTime: 'datetime? | null',
            status: 'number',
            createTime: 'datetime? | null',
            shipmentAmount: 'number? | null',
            insuranceAmount: 'number? | null',
            stockCreateTime: 'datetime? | null',
        }))],
        totalElements: 'number',
    })
});
export const Detail = itf({
    payload: itf(Object.assign({
        partOrderPIId: 'string? | null',
        totalAmount: 'number? | null',
        partCode: 'string? | null',
        partName: 'string? | null',
        price: 'number? | null',
        minPackSize: 'number? | null',
        approvedQuantity: 'number? | null',
        productCategoryCode: 'string? | null',
    }))
});
